package com.tekj.cxqcb.operation.resultBean;

public class QueryCarDealerDetailsPrivateBean {

    /**
     * code : 0000000
     * msg : 执行成功
     * data : {"carDealerName":"车享其成杭州店（全国总店）","region":"拱墅区","detailedAddress":"祥园路88号、108号","legalName":null,"phone":null,"storefrontPicture":"https://cxqc-2019.oss-cn-hangzhou.aliyuncs.com/20190624/aa570d43-a5e7-4e61-8466-990facbd9c4f","business":"https://cxqc-2019.oss-cn-hangzhou.aliyuncs.com/20190618/8c8c44d6-782d-4d8d-923a-8cc08f7a34ee,","cooperationAgreement":null,"adj":null}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * carDealerName : 车享其成杭州店（全国总店）
         * region : 拱墅区
         * detailedAddress : 祥园路88号、108号
         * legalName : null
         * phone : null
         * storefrontPicture : https://cxqc-2019.oss-cn-hangzhou.aliyuncs.com/20190624/aa570d43-a5e7-4e61-8466-990facbd9c4f
         * business : https://cxqc-2019.oss-cn-hangzhou.aliyuncs.com/20190618/8c8c44d6-782d-4d8d-923a-8cc08f7a34ee,
         * cooperationAgreement : null
         * adj : null
         */

        private String carDealerName;
        private String region;
        private String detailedAddress;
        private String legalName;
        private String phone;
        private String storefrontPicture;
        private String business;
        private String cooperationAgreement;
        private String adj;
        private String carDealerHost;
        private String distance;

        public String getDistance() {
            return distance.substring(0, distance.indexOf(".") + 2);
        }

        public void setDistance(String distance) {
            this.distance = distance;
        }

        public String getCarDealerHost() {
            return carDealerHost;
        }

        public void setCarDealerHost(String carDealerHost) {
            this.carDealerHost = carDealerHost;
        }

        public String getCarDealerName() {
            return carDealerName;
        }

        public void setCarDealerName(String carDealerName) {
            this.carDealerName = carDealerName;
        }

        public String getRegion() {
            return region;
        }

        public void setRegion(String region) {
            this.region = region;
        }

        public String getDetailedAddress() {
            return detailedAddress;
        }

        public void setDetailedAddress(String detailedAddress) {
            this.detailedAddress = detailedAddress;
        }

        public String getLegalName() {
            return legalName;
        }

        public void setLegalName(String legalName) {
            this.legalName = legalName;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getStorefrontPicture() {
            return storefrontPicture;
        }

        public void setStorefrontPicture(String storefrontPicture) {
            this.storefrontPicture = storefrontPicture;
        }

        public String getBusiness() {
            return business;
        }

        public void setBusiness(String business) {
            this.business = business;
        }

        public String getCooperationAgreement() {
            return cooperationAgreement;
        }

        public void setCooperationAgreement(String cooperationAgreement) {
            this.cooperationAgreement = cooperationAgreement;
        }

        public String getAdj() {
            return adj;
        }

        public void setAdj(String adj) {
            this.adj = adj;
        }
    }
}
